.nav {
  height: 100vh;
  width: 270px;
  background: #383C96;
  float: left;
}

.nav ul {
  list-style-type: none;
}

.navTitle {
  height: 75px;
  line-height: 75px;
  color: #fff;
  text-align: center;
  font-size: 30px;
}

.navItem {
  height: 50px;
  padding-left: 40px;
}

.navItem:hover {
  cursor: pointer;
  background: #213040;
  transition: background-color 1s linear;
}

.navItem div:first-child {
  height: 30px;
  width: 30px;
  margin-top: 10px;
  float: left;
  background-image: url("./images/0.png");
  background-size: 100%;
}

.navItem div:last-child {
  float: left;
  font-size: 18px;
  width: 175px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
}

.activeNav {
  background: #213040 !important;
}

.content {
  height: 95vh;
  width: calc(100% - 15vw);
  float: right;
}

.navSearch {
  height: 40px;
  width: 185px;
  margin: 35px auto;
  border: 3px solid #fff;
  border-radius: 15px;
  cursor: pointer;
}

.navSearch div:nth-child(1) {
  float: left;
  height: 30px;
  width: 30px;
  margin: 2px 0 0 15px;
  background-image: url("./images/0.png");
  background-size: 100%;
}

.navSearch div:nth-child(2) {
  float: left;
  color: #fff;
  font-size: 18px;
  width: 105px;
  height: 34px;
  line-height: 34px;
  text-align: center;
}

.navMachineList {
  list-style-type: none;
  height: 185px;
  width: 185px;
  overflow-x: hidden;
  margin: auto;
}

.navMachineList::-webkit-scrollbar {
  display: none; /*  隐藏滚动条并可以继续滚动  */
}

.navMachineList li {
  width: 200px;
  height: 40px;
  margin: 5px auto;
}

.navMachineList li > div:nth-child(1) {
  float: left;
  height: 30px;
  width: 30px;
  margin-top: 5px;
  margin-left: 0;
  background-image: url("./images/0.png");
  background-size: 100%;
}

.navMachineList li > div:nth-child(2) {
  float: left;
  color: #fff;
  font-size: 17px;
  text-align: center;
  height: 40px;
  width: 121px;
  line-height: 40px;
  margin-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.navMachineList li > div:nth-child(3) {
  float: left;
  height: 20px;
  width: 20px;
  margin: 10px 0 10px 3px;
  border-radius: 50%;
  cursor: pointer;
  background-color: #f00;
  user-select: none;
}

.machineConnected {
  background-color: #0f0 !important;
}

.navUser {
  width: 190px;
  height: 75px;
  margin: 20px auto;
}

.navUser div:nth-child(1) {
  float: left;
  width: 65px;
  height: 65px;
  background-image: url("./images/user.png");
  background-size: 100% 100%;
}

.navUser div:nth-child(2),
.navUser div:nth-child(3) {
  float: left;
  width: 125px;
  height: 34px;
  line-height: 34px;
  padding-left: 15px;
  color: #fff;
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navUser div:nth-child(2) {
  padding-top: 5px;
  font-weight: bold;
  font-style: italic;
}

.navHome {
  height: 50px;
  width: 270px;
  margin: 10px auto;
  padding-left: 40px;
  cursor: pointer;
}

.navHome div:nth-child(1) {
  float: left;
  height: 30px;
  width: 30px;
  margin-top: 10px;
  background-image: url("./images/0.png");
  background-size: 100%;
}

.navHome div:nth-child(2) {
  float: left;
  color: #fff;
  font-size: 20px;
  width: 175px;
  height: 50px;
  line-height: 50px;
  text-align: center;
}

.navOperation {
  width: 270px;
}

.settingTitle {
  height: 75px;
  line-height: 75px;
  color: #fff;
  text-align: center;
  font-size: 30px;
}

.settingTitle div {
  float: left;
}

.settingTitle div:nth-child(1) {
  height: 30px;
  width: 30px;
  margin: 22px 20px 22px 50px;
  background-image: url("./images/1.png");
  background-size: 100%;
}

